<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>交期批量变更审核列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" type="text/css" href="/general/guojigang/public/static/layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="/general/guojigang/public/static/layui/css/customer.css">
</head>
<body>
  <div id="orderInfo" style="display: none;">
  <form class="layui-form" action="">
    <div class="layui-form-item">
      <label class="layui-form-label">订单编号</label>
      <div class="layui-input-inline">
        <input type="text" name="title" id="orderNo" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">账套</label>
      <div class="layui-input-inline">
        <input type="text" id="zhangtao" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">订单类型</label>
      <div class="layui-input-inline">
        <input type="text" id="orderType" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">产品类别</label>
      <div class="layui-input-inline">
        <input type="text" id="productCategory" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">国家</label>
      <div class="layui-input-inline">
        <input type="text" id="country" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">客户简称</label>
      <div class="layui-input-inline">
        <input type="text" id="customerAbb" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">变更日期</label>
      <div class="layui-input-inline">
        <input type="text" id="bgrq" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">发起人</label>
      <div class="layui-input-inline">
        <input type="text" id="publisher" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">业务员</label>
      <div class="layui-input-inline">
        <input type="text" id="businessman" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">原确认交期</label>
      <div class="layui-input-inline">
        <input type="text" id="oldjq" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">新确认交期</label>
      <div class="layui-input-inline">
        <input type="text" id="newjq" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">原(开|关)</label>
      <div class="layui-input-inline">
        <input type="text" id="oldOrderStatus" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">新(开|关)</label>
      <div class="layui-input-inline">
        <input type="text" id="newOrderStatus" name="title" readonly class="layui-input" value="">
      </div>
    </div>
    <!-- <div class="layui-form-item">
      <div class="layui-input-inline">
        <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
      </div>
    </div> -->
  </form>
</div>       
<div class="layui-fluid" id="LAY-component-grid-list">
   
  <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
    <ul class="layui-tab-title">
      <li class="layui-this">未审核</li>
      <li>通过</li>
      <li>不通过</li>
      <li>全部</li>
    </ul>
    <div class="layui-tab-content">
      订单编号：
      <div class="layui-inline">
        <input class="layui-input" name="order_no" id="order_no" autocomplete="off">
      </div>
      客户名称：
      <div class="layui-inline">
        <input class="layui-input" name="customer_name" id="customer_name" autocomplete="off">
      </div>
      发起人：
      <div class="layui-inline">
        <input class="layui-input" name="username" id="username" autocomplete="off">
      </div>
      <button class="layui-btn layui-btn-sm" data-type="reload">查询</button>
      <button class="layui-btn layui-btn-sm" id="reset1">重置</button>
      <script type="text/html" id="headDeliveryBar1">
        <button class="layui-btn layui-btn-sm" id="batch_verify" lay-event="batch_verify">审核</button>
    </script>
      <table id="verify_list" lay-filter="user"></table>
    </div>
  </div> 
  
</div>
<div>
</div>
<script type="text/html" id="colVerifyListBar">
  {{#  if(d.status == 0 && (d.changeStatus == 0 || d.changeStatus == 1) ){ }}
  <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="do_it">点击办理</a>
  {{#  } }}
  <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="view">监控</a>
  {{#  if(d.changeStatus == 2){ }}
  <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="change_detail3">变更明细</a>
  {{#  } }}
</script>
<script type="text/html" id="typeTpl">
  {{#  if(d.status == 0 ){ }}
  <strong style="color:#1E9FFF">未审核</strong>
  {{#  } else if(d.status == 1) { }}
  <strong style="color:#f1c232">审核中</strong>
  {{#  } else if(d.status == 2) { }}
  <strong style="color:#009688">通过</strong>
  {{#  } else if(d.status == 3) { }}
  <strong style="color:red">不通过</strong>
  {{#  } else{ }}
  <strong>--</strong>
  {{#  } }}
</script>
<script src="/general/guojigang/public/static/layui/layui.js" charset="utf-8"></script>
<script src="/general/guojigang/public/static/layui/delivery/index.js?v=18" charset="utf-8"></script>
<script src="/general/guojigang/public/static/layui/dropdown.js" charset="utf-8"></script>
<script src="/general/guojigang/public/static/layui/jquery.min.js"></script>
<script>
  $("#reset1").click(function(){
        $("#order_no").val('');
        $("#customer_name").val('');
        $("#username").val('');
    })
    $("#customer_name").click(function(){
        var lay1 = layer.open({
            title: '选择客户'
            ,type:2
            ,content:'/general/guojigang/public/index/delivery/selectCustomer'
            ,area:['1000px','600px']
            ,shade:0.6  //显示遮罩
            ,shadeClose :true //点击遮罩关闭
            ,maxmin:true
        });
    })
</script>
</body>
</html>
